package Single4;

public class Draw extends Thread{
    private Card count;

    public Draw(String name, Card card) {
        super(name);
        this.count=card;
    }
    public void run(){
//        this.count = count;
        count.drawmoney(100000);
    }
}
